#include <REGX52.H>
#include "LCD1602.h"
#include "matrixkey.h"
void main()
{
	unsigned char keynum;
	LCD_Init();
	LCD_ShowString(1,1,"hello world");
	while(1)
	{
		keynum=matrixkey();
		if(keynum)
		{
			LCD_ShowNum(2,1,keynum,2);
		}
	}
}